package com.kmvc.message.activity;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;

import com.kmvc.message.R;
import com.kmvc.ui.IphoneTitleBarActivity;

public class IntroduceFunctionActivity extends IphoneTitleBarActivity{
	
	private WebView introduceFunction;
	
	@SuppressWarnings("deprecation")
	@SuppressLint("SetJavaScriptEnabled")
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.introduce_function);
		
		setTitle(R.string.feature_info);
	    setLeftButton(R.string.goback, null);
	    
	    introduceFunction=(WebView)findViewById(R.id.introduceFunction);
	    introduceFunction.getSettings().setJavaScriptEnabled(true); 
	    introduceFunction.loadUrl("file:///android_asset/about.html");
	    WebSettings settings=introduceFunction.getSettings();
	    settings.setTextSize(WebSettings.TextSize.LARGER);
	}
}
